export class ConstData {

    //窗体ID
    static panelID = {
        talkBox: 1,
        helpBox: 2,
        playerInfoBox:3,
    }

    static panelCfg = {
        [ConstData.panelID.talkBox]:{path:"prefab/panel/talkBox",component:"talkBox"},
        [ConstData.panelID.helpBox]:{path:"prefab/panel/helpBox",component:"helpBox"},
        [ConstData.panelID.playerInfoBox]:{path:"prefab/panel/playerInfoBox", component:"playerInfoBox"},
    }

    static DIR = {
        down : 0,
        left_down : 1,
        left : 2,
        left_up : 3,
        up : 4,
        right_up : 5,
        right : 6,
        right_down : 7,
    };

    static dirConfig = {
        [ConstData.DIR.up]: {name: "上",clip_name: "up"},
        [ConstData.DIR.right_up]: {name: "右上",clip_name: "right_up"},
        [ConstData.DIR.right]: {name: "右",clip_name: "right"},
        [ConstData.DIR.right_down]: {name: "右下",clip_name: "right_down"},
        [ConstData.DIR.down]: {name: "下",clip_name: "down"},
        [ConstData.DIR.left_down]: {name: "左下",clip_name: "left_down"},
        [ConstData.DIR.left]: {name: "左",clip_name: "left"},
        [ConstData.DIR.left_up]: {name: "左上",clip_name: "left_up"},
    }
}
